home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1997 September
/
Macworld (1997-09).dmg
/
Shareware World
/
Comms & Internet
/
Mail*Link SMTP⁄QM Installer
/
Disk 3
/
Sources & Scripts
/
Scripts
/
hosts.script
< prev
next >
Wrap
Text File
|
1989-06-28
|
238b
|
16 lines
:
HOSTS=/etc/hosts
NEWHOSTS=newhosts
echo MacTCP format Hosts file will be in \"${NEWHOSTS}\".
while :
do
x=`line`
if [ $? -eq 0 ]
then
set $x
echo "$2. A $1 ; $3 $4 $5 $6 $7 $8"
else
break;
fi
done < ${HOSTS} > ${NEWHOSTS}